Hadoop Operations by Eric Sammer

Hadoop Operations by Eric Sammer

Author:Eric Sammer [Eric Sammer]
Language: eng
Format: epub, pdf
Tags: COMPUTERS / Programming / Parallel
ISBN: 9781449327040
Publisher: O'Reilly Media
Published: 2012-09-25T16:00:00+00:00


Example: 0700

See Example 6-5 for a sample hdfs-site.xml file configured for security.

Example 6-5. Updating hdfs-site.xml to enable Hadoop security

<?xml version="1.0"?> <configuration> <property> <name>dfs.block.access.token.enable</name> <value>true</value> </property> <!-- NameNode security config --> <property> <name>dfs.namenode.keytab.file</name> <value>hdfs.keytab</value> </property> <property> <name>dfs.namenode.kerberos.principal</name> <value>hdfs/[email protected]</value> </property> <property> <name>dfs.namenode.kerberos.https.principal</name> <value>host/[email protected]</value> </property> <!-- DataNode security config --> <property> <name>dfs.datanode.keytab.file</name> <value>hdfs.keytab</value> </property> <property> <name>dfs.datanode.kerberos.principal</name> <value>hdfs/[email protected]</value> </property> <property> <name>dfs.datanode.kerberos.https.principal</name> <value>host/[email protected]</value> </property> </configuration>



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.